package com.example.pojo.dao;

import com.example.pojo.entity.Response;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * 本文来演示
 *
 * @author 赵建云
 * @create 2023/10/20
 */
public interface ResponseRepository extends MongoRepository<Response,String> {
    List<Response> findAllByCommentIdOrderByLikeNum(String commentId);
}
